package com.egao.common.core.exception;

import javax.naming.AuthenticationException;

/**
 * 参数异常
 * Created by wangfan on 2018-02-22 11:29
 */
public class StateFrozenException extends AuthenticationException {

    public StateFrozenException() {
        super();
    }

    public StateFrozenException(String message) {
        super(message);
    }


    @Override
    public String getMessage() {
        String message = super.getMessage();
        if (message == null) {
            message = "账号冻结";
        }
        return message;
    }
}
